Remove deprecated code from GdkDnd
authorJavier Jardón <javierjc1982@gmail.com>
Fri, 9 Oct 2009 15:27:03 +0000 (17:27 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sun, 2 May 2010 23:45:00 +0000 (01:45 +0200)
docs/reference/gdk/gdk-sections.txt
docs/reference/gdk/tmpl/dnd.sgml
gdk/directfb/gdkdnd-directfb.c
gdk/gdk.symbols
gdk/gdkdnd.h
gdk/quartz/gdkdnd-quartz.c
gdk/win32/gdkdnd-win32.c
gdk/x11/gdkdnd-x11.c

index 432d8e7fd6b48b876b09caac388f611b2f87dc2d..3148da685cc7c0694c1c439f4bc584f1be7ac5af 100644 (file)
@@ -1224,14 +1224,12 @@ gdk_drag_context_new
 gdk_drag_drop
 gdk_drag_find_window
 gdk_drag_find_window_for_screen
-gdk_drag_context_ref
 gdk_drag_begin
 gdk_drag_motion
 gdk_drop_finish
 gdk_drag_get_protocol
 gdk_drag_get_protocol_for_display
 GdkDragProtocol
-gdk_drag_context_unref
 GdkDragContext
 GdkDragAction
 gdk_drag_status
index b3c360d6e6914fdd66925a9b0459e7ddabadfa86..3d1b521c7ccccb96a25c4f396dfd0cdb4449615c 100644 (file)
@@ -91,13 +91,6 @@ the GTK+ documentation for more information.
 @protocol: 
 
 
-<!-- ##### FUNCTION gdk_drag_context_ref ##### -->
-<para>
-</para>
-
-@context: 
-
-
 <!-- ##### FUNCTION gdk_drag_begin ##### -->
 <para>
 </para>
@@ -166,13 +159,6 @@ which DND is done.
 @GDK_DRAG_PROTO_OLE2: The complex OLE2 DND protocol (not implemented).
 @GDK_DRAG_PROTO_LOCAL: Intra-application DND.
 
-<!-- ##### FUNCTION gdk_drag_context_unref ##### -->
-<para>
-</para>
-
-@context: 
-
-
 <!-- ##### STRUCT GdkDragContext ##### -->
 <para>
 A <structname>GdkDragContext</structname> holds information about a 
index 35624c7af5213acb04cefde7c93559746b7e48ba..527a817c0d264318f1a24704444d593c8ed991ab 100644 (file)
@@ -121,18 +121,6 @@ gdk_drag_context_new (void)
   return g_object_new (gdk_drag_context_get_type (), NULL);
 }
 
-void
-gdk_drag_context_ref (GdkDragContext *context)
-{
-  g_object_ref (context);
-}
-
-void
-gdk_drag_context_unref (GdkDragContext *context)
-{
-  g_object_unref (context);
-}
-
 static GdkDragContext *
 gdk_drag_context_find (gboolean     is_source,
                       GdkWindow   *source,
index a38d3a5238adca02e0d5207cebf74a886df79c0f..93637663545fe996dcefd164ae9b50ef11708861 100644 (file)
@@ -511,10 +511,6 @@ gdk_drag_abort
 gdk_drag_begin
 gdk_drag_context_get_type G_GNUC_CONST
 gdk_drag_context_new
-#ifndef GDK_DISABLE_DEPRECATED
-gdk_drag_context_ref
-gdk_drag_context_unref
-#endif
 gdk_drag_drop
 gdk_drag_drop_succeeded
 gdk_drag_find_window_for_screen
index b9f83352f52b48452b06170f3c344f80889726c3..beada1d80713e29ae46aa2a81f558f47cadc9d76 100644 (file)
@@ -107,11 +107,6 @@ struct _GdkDragContextClass {
 GType            gdk_drag_context_get_type   (void) G_GNUC_CONST;
 GdkDragContext * gdk_drag_context_new        (void);
 
-#ifndef GDK_DISABLE_DEPRECATED
-void             gdk_drag_context_ref        (GdkDragContext *context);
-void             gdk_drag_context_unref      (GdkDragContext *context);
-#endif
-
 /* Destination side */
 
 void             gdk_drag_status        (GdkDragContext   *context,
index bb70b710fc360bed6756e0a0dd01868f97492a7e..2292d1fbb1018b7ec0c02a750f29a5d0a49f66e0 100644 (file)
@@ -87,18 +87,6 @@ gdk_drag_context_new (void)
   return (GdkDragContext *)g_object_new (gdk_drag_context_get_type (), NULL);
 }
 
-void            
-gdk_drag_context_ref (GdkDragContext *context)
-{
-  g_object_ref (context);
-}
-
-void            
-gdk_drag_context_unref (GdkDragContext *context)
-{
-  g_object_unref (context);
-}
-
 GdkDragContext *_gdk_quartz_drag_source_context = NULL;
 
 GdkDragContext *
index 9f4d37ba4ccb3a678eefa52a4313e674ca5a2701..472ff69cd19c5d485ad58607780c259a9c2cd1ac 100644 (file)
@@ -203,22 +203,6 @@ gdk_drag_context_new (void)
   return g_object_new (GDK_TYPE_DRAG_CONTEXT, NULL);
 }
 
-void
-gdk_drag_context_ref (GdkDragContext *context)
-{
-  g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-
-  g_object_ref (context);
-}
-
-void
-gdk_drag_context_unref (GdkDragContext *context)
-{
-  g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-
-  g_object_unref (context);
-}
-
 static GdkDragContext *
 gdk_drag_context_find (gboolean   is_source,
                       GdkWindow *source,
index 4b7fd851493a1b44a83047f8e8420efb080473bb..631dbed477434046ad56e59b84707de41ea9095a 100644 (file)
@@ -220,38 +220,6 @@ gdk_drag_context_new (void)
   return g_object_new (GDK_TYPE_DRAG_CONTEXT, NULL);
 }
 
-/**
- * gdk_drag_context_ref:
- * @context: a #GdkDragContext.
- *
- * Deprecated function; use g_object_ref() instead.
- *
- * Deprecated: 2.2: Use g_object_ref() instead.
- **/
-void            
-gdk_drag_context_ref (GdkDragContext *context)
-{
-  g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-
-  g_object_ref (context);
-}
-
-/**
- * gdk_drag_context_unref:
- * @context: a #GdkDragContext.
- *
- * Deprecated function; use g_object_unref() instead.
- *
- * Deprecated: 2.2: Use g_object_unref() instead.
- **/
-void            
-gdk_drag_context_unref (GdkDragContext *context)
-{
-  g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-
-  g_object_unref (context);
-}
-
 static GdkDragContext *
 gdk_drag_context_find (GdkDisplay *display,
                       gboolean    is_source,